.class public Lcom/xingbook/park/activity/GuideAct;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/view/GestureDetector$OnGestureListener;
.implements Landroid/view/View$OnClickListener;


# static fields
.field private static final v:[I


# instance fields
.field a:Lcom/xingbook/ui/XbLayout;

.field b:Lcom/xingbook/ui/XbLayout;

.field c:Lcom/xingbook/ui/XbLayout;

.field d:Landroid/widget/ImageView;

.field e:Landroid/widget/ImageView;

.field f:Lcom/xingbook/ui/ad;

.field g:Lcom/xingbook/ui/ad;

.field h:Lcom/xingbook/ui/ad;

.field i:Lcom/xingbook/ui/ad;

.field l:Lcom/xingbook/ui/ad;

.field m:Lcom/xingbook/ui/ad;

.field n:Lcom/xingbook/ui/ad;

.field o:Lcom/xingbook/ui/ad;

.field p:I

.field q:Landroid/graphics/Bitmap;

.field private final r:I

.field private final s:I

.field private final t:I

.field private final u:I

.field private w:Z

.field private x:Landroid/view/GestureDetector;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    new-array v0, v0, [I

    sput-object v0, Lcom/xingbook/park/activity/GuideAct;->v:[I

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    const/4 v0, 0x1

    iput v0, p0, Lcom/xingbook/park/activity/GuideAct;->r:I

    const/4 v0, 0x2

    iput v0, p0, Lcom/xingbook/park/activity/GuideAct;->s:I

    const/4 v0, 0x3

    iput v0, p0, Lcom/xingbook/park/activity/GuideAct;->t:I

    const/4 v0, 0x4

    iput v0, p0, Lcom/xingbook/park/activity/GuideAct;->u:I

    iput v1, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    iput-boolean v1, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/GuideAct;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    return-void
.end method

.method static synthetic a()[I
    .locals 1

    sget-object v0, Lcom/xingbook/park/activity/GuideAct;->v:[I

    return-object v0
.end method

.method private b()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/xingbook/park/activity/HomeActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/GuideAct;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->finish()V

    return-void
.end method

.method private c()V
    .locals 15

    const/16 v14, 0x8

    const/4 v13, 0x0

    const/4 v1, 0x1

    const/4 v4, 0x0

    iget-boolean v0, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    if-lez v0, :cond_0

    iput-boolean v1, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    iget v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget-object v2, Lcom/xingbook/park/activity/GuideAct;->v:[I

    iget v3, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    aget v2, v2, v3

    invoke-static {v0, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->d:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    const/16 v12, 0x3e8

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v2, -0x4080

    move v3, v1

    move v5, v1

    move v6, v4

    move v7, v1

    move v8, v4

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    int-to-long v2, v12

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setFillBefore(Z)V

    new-instance v2, Landroid/view/animation/TranslateAnimation;

    const/high16 v6, 0x3f80

    move v3, v1

    move v5, v1

    move v7, v1

    move v8, v4

    move v9, v1

    move v10, v4

    invoke-direct/range {v2 .. v10}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    int-to-long v3, v12

    invoke-virtual {v2, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v2, v1}, Landroid/view/animation/Animation;->setFillBefore(Z)V

    new-instance v1, Lcom/xingbook/park/activity/v;

    invoke-direct {v1, p0, v11}, Lcom/xingbook/park/activity/v;-><init>(Lcom/xingbook/park/activity/GuideAct;Landroid/graphics/Bitmap;)V

    invoke-virtual {v2, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v13}, Lcom/xingbook/ui/XbLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/XbLayout;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/XbLayout;->startAnimation(Landroid/view/animation/Animation;)V

    iget v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v14}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v13}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v14}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    goto :goto_0
.end method

.method private d()V
    .locals 14

    const/4 v13, 0x0

    const/4 v1, 0x1

    const/4 v4, 0x0

    iget-boolean v0, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    sget-object v2, Lcom/xingbook/park/activity/GuideAct;->v:[I

    array-length v2, v2

    add-int/lit8 v2, v2, -0x1

    if-ge v0, v2, :cond_0

    iput-boolean v1, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    iget v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget-object v2, Lcom/xingbook/park/activity/GuideAct;->v:[I

    iget v3, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    aget v2, v2, v3

    invoke-static {v0, v2}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->d:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    const/16 v12, 0x3e8

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v2, 0x3f80

    move v3, v1

    move v5, v1

    move v6, v4

    move v7, v1

    move v8, v4

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    int-to-long v2, v12

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v1}, Landroid/view/animation/Animation;->setFillBefore(Z)V

    new-instance v2, Landroid/view/animation/TranslateAnimation;

    const/high16 v6, -0x4080

    move v3, v1

    move v5, v1

    move v7, v1

    move v8, v4

    move v9, v1

    move v10, v4

    invoke-direct/range {v2 .. v10}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    int-to-long v3, v12

    invoke-virtual {v2, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v2, v1}, Landroid/view/animation/Animation;->setFillBefore(Z)V

    new-instance v1, Lcom/xingbook/park/activity/w;

    invoke-direct {v1, p0, v11}, Lcom/xingbook/park/activity/w;-><init>(Lcom/xingbook/park/activity/GuideAct;Landroid/graphics/Bitmap;)V

    invoke-virtual {v2, v1}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v13}, Lcom/xingbook/ui/XbLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/XbLayout;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/XbLayout;->startAnimation(Landroid/view/animation/Animation;)V

    iget v0, p0, Lcom/xingbook/park/activity/GuideAct;->p:I

    sget-object v1, Lcom/xingbook/park/activity/GuideAct;->v:[I

    array-length v1, v1

    add-int/lit8 v1, v1, -0x1

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v13}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v13}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    goto/16 :goto_0
.end method


# virtual methods
.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u5bfc\u822a\u56fe"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v0, 0x0

    const/4 v1, 0x1

    iget-boolean v2, p0, Lcom/xingbook/park/activity/GuideAct;->w:Z

    if-eqz v2, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    if-ne v2, v1, :cond_2

    invoke-direct {p0}, Lcom/xingbook/park/activity/GuideAct;->c()V

    goto :goto_0

    :cond_2
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    const/4 v3, 0x2

    if-ne v2, v3, :cond_3

    invoke-direct {p0}, Lcom/xingbook/park/activity/GuideAct;->d()V

    goto :goto_0

    :cond_3
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    const/4 v3, 0x3

    if-ne v2, v3, :cond_5

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->n:Lcom/xingbook/ui/ad;

    iput-boolean v1, v2, Lcom/xingbook/ui/ad;->n:Z

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->n:Lcom/xingbook/ui/ad;

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->invalidate()V

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->h:Lcom/xingbook/ui/ad;

    iput-boolean v1, v2, Lcom/xingbook/ui/ad;->n:Z

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->invalidate()V

    check-cast p1, Lcom/xingbook/ui/ad;

    iget-boolean v2, p1, Lcom/xingbook/ui/ad;->n:Z

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v3

    if-eqz v2, :cond_4

    :goto_1
    invoke-virtual {v3, v0}, Lcom/xingbook/c/j;->a(Z)V

    goto :goto_0

    :cond_4
    move v0, v1

    goto :goto_1

    :cond_5
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v1

    const/4 v2, 0x4

    if-ne v1, v2, :cond_0

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/xingbook/c/j;->a(Z)V

    invoke-direct {p0}, Lcom/xingbook/park/activity/GuideAct;->b()V

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 13

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x80

    invoke-virtual {v0, v1}, Landroid/view/Window;->addFlags(I)V

    invoke-static {p0}, Lcom/xingbook/c/n;->d(Landroid/app/Activity;)I

    move-result v0

    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v1

    new-instance v2, Landroid/view/GestureDetector;

    invoke-direct {v2, p0, p0}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->x:Landroid/view/GestureDetector;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget-object v3, Lcom/xingbook/park/activity/GuideAct;->v:[I

    const/4 v4, 0x0

    aget v3, v3, v4

    invoke-static {v2, v3}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v3

    iput-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    new-instance v3, Lcom/xingbook/ui/XbLayout;

    invoke-direct {v3, p0}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5, v1, v0}, Lcom/xingbook/ui/XbLayout;->layout(IIII)V

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    const v4, -0xf5651f

    invoke-virtual {v3, v4}, Lcom/xingbook/ui/XbLayout;->setBackgroundColor(I)V

    new-instance v3, Lcom/xingbook/ui/XbLayout;

    invoke-direct {v3, p0}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5, v1, v0}, Lcom/xingbook/ui/XbLayout;->layout(IIII)V

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v3, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v3, Lcom/xingbook/ui/XbLayout;

    invoke-direct {v3, p0}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5, v1, v0}, Lcom/xingbook/ui/XbLayout;->layout(IIII)V

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    const/16 v4, 0x8

    invoke-virtual {v3, v4}, Lcom/xingbook/ui/XbLayout;->setVisibility(I)V

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {v3, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v3

    iget-object v4, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    sub-int v4, v0, v4

    div-int/lit8 v4, v4, 0x2

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v5}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    add-int/2addr v5, v4

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    sub-int v6, v1, v6

    div-int/lit8 v6, v6, 0x2

    iget-object v7, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v7}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v7

    add-int/2addr v7, v6

    const/high16 v8, 0x4348

    mul-float/2addr v8, v3

    invoke-static {v8}, Ljava/lang/Math;->round(F)I

    move-result v8

    const/high16 v9, 0x42f0

    mul-float/2addr v9, v3

    invoke-static {v9}, Ljava/lang/Math;->round(F)I

    move-result v9

    const/high16 v10, 0x41a0

    mul-float/2addr v10, v3

    invoke-static {v10}, Ljava/lang/Math;->round(F)I

    const/high16 v10, 0x41a0

    mul-float/2addr v10, v3

    invoke-static {v10}, Ljava/lang/Math;->round(F)I

    const/high16 v10, 0x41a0

    mul-float/2addr v10, v3

    invoke-static {v10}, Ljava/lang/Math;->round(F)I

    move-result v10

    new-instance v11, Landroid/widget/ImageView;

    invoke-direct {v11, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->d:Landroid/widget/ImageView;

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->d:Landroid/widget/ImageView;

    iget-object v12, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v11, v12}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->d:Landroid/widget/ImageView;

    invoke-virtual {v11, v6, v4, v7, v5}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    iget-object v12, p0, Lcom/xingbook/park/activity/GuideAct;->d:Landroid/widget/ImageView;

    invoke-virtual {v11, v12}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v11, Landroid/widget/ImageView;

    invoke-direct {v11, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->e:Landroid/widget/ImageView;

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->e:Landroid/widget/ImageView;

    iget-object v12, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v11, v12}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v11, p0, Lcom/xingbook/park/activity/GuideAct;->e:Landroid/widget/ImageView;

    invoke-virtual {v11, v6, v4, v7, v5}, Landroid/widget/ImageView;->layout(IIII)V

    iget-object v4, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->e:Landroid/widget/ImageView;

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    sget-object v4, Lcom/xingbook/park/activity/GuideAct;->v:[I

    array-length v4, v4

    const/4 v5, 0x1

    if-le v4, v5, :cond_0

    sub-int v4, v0, v8

    div-int/lit8 v4, v4, 0x2

    add-int v5, v4, v8

    new-instance v6, Lcom/xingbook/ui/ad;

    invoke-direct {v6, p0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v6, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    const v7, 0x33ffffff

    iput v7, v6, Lcom/xingbook/ui/ad;->i:I

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    const v7, -0x66000001

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    iput v10, v6, Lcom/xingbook/ui/ad;->l:I

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    const v7, 0x7f0202e8

    invoke-static {v2, v7}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v7

    iput-object v7, v6, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    const/4 v7, 0x0

    invoke-virtual {v6, v7, v4, v9, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    const/16 v7, 0x8

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    iget-object v7, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v6}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v6

    iput-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->l:Lcom/xingbook/ui/ad;

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->l:Lcom/xingbook/ui/ad;

    const/4 v7, 0x0

    invoke-virtual {v6, v7, v4, v9, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->l:Lcom/xingbook/ui/ad;

    const/16 v7, 0x8

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    iget-object v7, p0, Lcom/xingbook/park/activity/GuideAct;->l:Lcom/xingbook/ui/ad;

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v6}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v6

    iput-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    const/4 v7, 0x2

    invoke-virtual {v6, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v6, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    const/4 v7, 0x0

    iput-object v7, v6, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    const v7, 0x7f0202e9

    invoke-static {v2, v7}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    iput-object v2, v6, Lcom/xingbook/ui/ad;->q:Landroid/graphics/Bitmap;

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    sub-int v6, v1, v9

    invoke-virtual {v2, v6, v4, v1, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    iget-object v6, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v2, v6}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v2}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v2

    iput-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->m:Lcom/xingbook/ui/ad;

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->m:Lcom/xingbook/ui/ad;

    sub-int v6, v1, v9

    invoke-virtual {v2, v6, v4, v1, v5}, Lcom/xingbook/ui/ad;->layout(IIII)V

    iget-object v2, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    iget-object v4, p0, Lcom/xingbook/park/activity/GuideAct;->m:Lcom/xingbook/ui/ad;

    invoke-virtual {v2, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    :cond_0
    const/high16 v2, 0x42c8

    mul-float/2addr v2, v3

    invoke-static {v2}, Ljava/lang/Math;->round(F)I

    move-result v2

    const v4, 0x4400c000

    mul-float/2addr v4, v3

    invoke-static {v4}, Ljava/lang/Math;->round(F)I

    move-result v4

    const/high16 v5, 0x428c

    mul-float/2addr v5, v3

    invoke-static {v5}, Ljava/lang/Math;->round(F)I

    move-result v5

    const/high16 v6, 0x41a0

    mul-float/2addr v6, v3

    float-to-int v6, v6

    sub-int/2addr v0, v5

    sub-int/2addr v0, v2

    new-instance v5, Lcom/xingbook/ui/ad;

    invoke-direct {v5, p0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const/4 v7, 0x4

    invoke-virtual {v5, v7}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v5, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const-string v7, "\u7acb\u5373\u4f53\u9a8c"

    iput-object v7, v5, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const/high16 v7, 0x4260

    mul-float/2addr v3, v7

    iput v3, v5, Lcom/xingbook/ui/ad;->c:F

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const/4 v5, -0x1

    iput v5, v3, Lcom/xingbook/ui/ad;->b:I

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const v5, -0x33ffec

    iput v5, v3, Lcom/xingbook/ui/ad;->i:I

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    int-to-float v5, v6

    iput v5, v3, Lcom/xingbook/ui/ad;->j:F

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const v5, -0xff9934

    invoke-virtual {v3, v5}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const/16 v5, 0x11

    iput v5, v3, Lcom/xingbook/ui/ad;->d:I

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    iput v10, v3, Lcom/xingbook/ui/ad;->l:I

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    sub-int v5, v1, v4

    div-int/lit8 v5, v5, 0x2

    add-int v6, v1, v4

    div-int/lit8 v6, v6, 0x2

    add-int v7, v0, v2

    invoke-virtual {v3, v5, v0, v6, v7}, Lcom/xingbook/ui/ad;->layout(IIII)V

    sget-object v3, Lcom/xingbook/park/activity/GuideAct;->v:[I

    array-length v3, v3

    const/4 v5, 0x1

    if-le v3, v5, :cond_1

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    const/16 v5, 0x8

    invoke-virtual {v3, v5}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    :cond_1
    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->b:Lcom/xingbook/ui/XbLayout;

    iget-object v5, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v3, v5}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->i:Lcom/xingbook/ui/ad;

    invoke-virtual {v3}, Lcom/xingbook/ui/ad;->b()Lcom/xingbook/ui/ad;

    move-result-object v3

    iput-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->o:Lcom/xingbook/ui/ad;

    iget-object v3, p0, Lcom/xingbook/park/activity/GuideAct;->o:Lcom/xingbook/ui/ad;

    sub-int v5, v1, v4

    div-int/lit8 v5, v5, 0x2

    add-int/2addr v1, v4

    div-int/lit8 v1, v1, 0x2

    add-int/2addr v2, v0

    invoke-virtual {v3, v5, v0, v1, v2}, Lcom/xingbook/ui/ad;->layout(IIII)V

    sget-object v0, Lcom/xingbook/park/activity/GuideAct;->v:[I

    array-length v0, v0

    const/4 v1, 0x1

    if-le v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->o:Lcom/xingbook/ui/ad;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->c:Lcom/xingbook/ui/XbLayout;

    iget-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->o:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/GuideAct;->setContentView(Landroid/view/View;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 2

    const/4 v1, 0x0

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    iput-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->x:Landroid/view/GestureDetector;

    iput-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->a:Lcom/xingbook/ui/XbLayout;

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    iput-object v1, p0, Lcom/xingbook/park/activity/GuideAct;->q:Landroid/graphics/Bitmap;

    :cond_0
    return-void
.end method

.method public onDown(Landroid/view/MotionEvent;)Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 3

    const/high16 v2, 0x41a0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    cmpl-float v0, v0, v2

    if-lez v0, :cond_0

    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    cmpl-float v0, v0, v2

    if-lez v0, :cond_0

    invoke-direct {p0}, Lcom/xingbook/park/activity/GuideAct;->d()V

    :cond_0
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    cmpl-float v0, v0, v2

    if-lez v0, :cond_1

    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    cmpl-float v0, v0, v2

    if-lez v0, :cond_1

    invoke-direct {p0}, Lcom/xingbook/park/activity/GuideAct;->c()V

    :cond_1
    const/4 v0, 0x0

    return v0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    invoke-direct {p0}, Lcom/xingbook/park/activity/GuideAct;->b()V

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public onLongPress(Landroid/view/MotionEvent;)V
    .locals 0

    return-void
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/GuideAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method

.method public onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public onShowPress(Landroid/view/MotionEvent;)V
    .locals 0

    return-void
.end method

.method public onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->x:Landroid/view/GestureDetector;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/GuideAct;->x:Landroid/view/GestureDetector;

    invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public onWindowFocusChanged(Z)V
    .locals 0

    return-void
.end method
